﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: SurveyVoteEntity.cs
// 修改时间：2020-9-8 10:40:12
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：SurveyVote 的实体类.
	/// </summary>
	[Table("SurveyVote")]
	public partial class SurveyVoteEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _surveyID = 0;
		/// <summary>
		/// 问卷ID
		/// </summary>
		[Column("SurveyID",TypeName="int")]
		public int? SurveyID
		{
			get {return _surveyID;}
			set {_surveyID = value;}
		}
		
		private int? _questionID = 0;
		/// <summary>
		/// 问题ID
		/// </summary>
		[Column("QuestionID",TypeName="int")]
		public int? QuestionID
		{
			get {return _questionID;}
			set {_questionID = value;}
		}
		
		private int? _optionID = 0;
		/// <summary>
		/// 选项ID
		/// </summary>
		[Column("OptionID",TypeName="int")]
		public int? OptionID
		{
			get {return _optionID;}
			set {_optionID = value;}
		}
		
		private int? _voteAmount = 0;
		/// <summary>
		/// 投票数目
		/// </summary>
		[Column("VoteAmount",TypeName="int")]
		public int? VoteAmount
		{
			get {return _voteAmount;}
			set {_voteAmount = value;}
		}
		
		#endregion
	}
}
